/**
 * 地址接口
 */

import { request } from "../utils/request"

export const getAllAddress = () => {
	return request({
		url: "/api/user/query/address",
		method: "GET",
	})
}
export const updateAddress = (params) => {
	return request({
		url: "/api/user/update/address",
		method: "POST",
		data: params,
	})
}
export const deleteAddress = (params) => {
	return request({
		url: "/api/user/delete/address",
		method: "GET",
		data: params,
	})
}
